From: Dave Love Date: Thu, 18 Jul 2002 18:18:47 +0000 (+0000) Subject: Support current auto{conf,make} manuals. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~31529 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=a46d363dbbb039ab279ad69b5154c77ec3661869;p=emacs.git Support current auto{conf,make} manuals. --- diff --git a/lisp/info-look.el b/lisp/info-look.el index ec5e779d36a..920a9afc977 100644 --- a/lisp/info-look.el +++ b/lisp/info-look.el @@ -56,8 +56,7 @@ Setting this variable to nil disables highlighting." "Overlay object used for highlighting.") (defcustom info-lookup-file-name-alist - '(("\\`configure\\.in\\'" . autoconf-mode) ;already covered by auto-mode-alist - ("\\`ac\\(local\\|site\\|include\\)\\.m4\\'" . autoconf-mode)) + '(("\\`ac\\(local\\|site\\|include\\)\\.m4\\'" . autoconf-mode)) "Alist of file names handled specially. List elements are cons cells of the form @@ -672,7 +671,12 @@ Return nil if there is nothing appropriate in the buffer near point." (info-lookup-maybe-add-help :mode 'autoconf-mode :regexp "A[CM]_[_A-Z0-9]+" - :doc-spec '(("(autoconf)Macro Index" "AC_" + :doc-spec '(("(autoconf)Autoconf Macro Index" "AC_" + "^[ \t]+- \\(Macro\\|Variable\\): .*\\<" "\\>") + ("(automake)Macro and Variable Index" nil + "^[ \t]*`" "'") + ;; These are for older versions (probably pre autoconf 2.5x): + ("(autoconf)Macro Index" "AC_" "^[ \t]+- \\(Macro\\|Variable\\): .*\\<" "\\>") ("(automake)Macro and Variable Index" nil "^[ \t]*`" "'"))